home *** CD-ROM | disk | FTP | other *** search
- In order to build the CMU-PCIP distribution, you should have gotten
- one of the following sets of files:
-
- from the arpanet:
- -------------
- readme - this file
- install.bat - a batch file to make installation easier
- tarread.exe - a tar file reading program
- root.tar - a tar file of the root directory
- include.tar - a tar file of the include directory
- srcdev.tar - a tar file of the srcdev directory
- srclib.tar - a tar file of the srclib directory
- srccmd.tar - a tar file of the srccmd directory
- doc.tar - a tar file of the doc and man directorys (OPTIONAL)
- bootp.tar - a tar file of a UNIX BOOTP server (OPTIONAL)
-
- or from BITNET:
- ---------------
- read.me - this file
- install.bat - a batch file to make installation easier
- unboo.c - a boo file reading program
- tarread.boo - a boo file of a tar file reading program
- root.boo - a boo file of the root directory
- include.boo - a boo file of the include directory
- srcdev.boo - a boo file of the srcdev directory
- srclib*.boo - boo files of the srclib directory
- srccmd*.boo - boo files of the srccmd directory
- doc*.boo - boo files of the doc and man directorys (OPTIONAL)
- bootp.boo - a boo file of a UNIX BOOTP server (OPTIONAL)
-
- Note that all .tar and .exe files are binary files. These MUST be
- transferred to your pc in BINARY/OCTET/IMAGE mode. If tarread.exe is not in
- the correct format, you are likely to hang your pc, or if your lucky you will
- get an error about "Program to large to fit in memory" when you run it. The
- program "tarread" is a very simple program that knows the basic format of UNIX
- tar files. It's not very intelligent, so use it carefully. Sources are
- included.
-
- Now, the first step is to put the tar/boo files in the main directory
- on your pc where you want pcip to reside, ie. something like c:\pcip.
-
- The second step in building CMU-PCIP is to assemble the distribution.
-
- ARPANET (tar file) distribution
- -------------------------------
- If you have the tar file distribution, the install.bat file will install your
- files if you invoke it with the tarfiles option. I.e. say: "install tarfiles"
- and install will have tarread extract all of your files. You must execute
- this from the directory where you placed your files (i.e. c:\pcip). You can
- check what files are on your tar files by saying "tarread tv filename". By
- default tarread does newline to CRLF transformations, but this can be disabled
- with the "z" command. The tar files distributed have only LF's in them so
- don't change install to use this. The "w" option to tarread will make tarread
- ask you to confirm everything it does before it does it.
-
- BITNET (boo file) distribution
- ------------------------------
- If you have the boo file distribution, the install.bat file will install you
- files if you invoke it with the boofiles option. I.e. say "install boofiles",
- and install will compile the unboo program, unboo all your files, and then
- have tarread extract all of your files, as described above.
-
- The next step is to set up your development environment. The
- developement environment I currently use consists of Microsoft C V4.00,
- Microsoft Link V3.51, Microsoft Exemod, Microsoft MASM V4.00, Microsoft
- Make V4.02, Microsoft Mapsym V4.00 and Microsoft Symdeb. Microsoft C V3.00
- and Microsoft MASM V3.00 will also work. You should have all of these
- programs if you have the Microsoft C compiler and Microsoft Macro Assembler
- packages. I suspect that the IBM C compiler V1.0 should also work.
-
- To install this release and integrate it with the Microsoft
- compiler, first edit autoexec.bat in your root directory. Set the INCLUDE
- variable to the name of the directory where the compiler include files are.
- Set the LIB variable to the name of the directory where the compiler libraries
- are and the directory where the pcip libraries are. For example, I have:
-
- set INCLUDE=c:\msc\include
- set LIB=c:\msc\lib;c:\pcip\lib
-
- The pcip include files are picked up by the -I switch in the compiler
- instead of the environment variable. This is because the search path named
- with the -I switch is searched before the environment variable, thus making
- sure that files with the same name are picked up from the correct place
- (i.e. stdio.h). It can be placed in the environment variable if you don't
- mind other programs (i.e. non-pcip) you compile to include the pcip include
- files.
-
- The fourth step is to install the correct set of makefiles in each of
- your directories. A makefile has been provided for each source directory
- for both versions 3.0 and 4.0 of MSC. Also, versions are provided for
- building either DEBUG versions, or NON-DEBUG versions. Note that until now,
- PCIP has always been the DEBUG version. The NON-DEBUG versions are up to
- 10k smaller. At CMU we are distributing NON-DEBUG versions to the populace,
- and giving DEBUG versions to the network/datacomm staff. To install the
- version you want, invoke install with either the "3d", "3n", "4d" or "4n"
- option. I.e. say "install 4d" to get the v4.0 MSC/DEBUG version.
-
- The last step is to compile the distribution via "make". The make
- batch file must again be executed from the top level pcip directory or else
- you may accidentally run MSC make.exe from your path. The make command takes
- a number of options. Saying "make srclib" will compile only srclib.
- "make srccmd" will compile only srccmd. Saying "make all" will compile both.
-
- The "DIFFRNCS" file to has a description of differences between the
- CMU version of PCIP and MIT's cross-compiled version. Another batch file,
- "clean.bat" has also been provided. Clean will delete .obj, .lib, and .exe
- files from your various directories. This is most useful when you want to
- recompile everything. Saying "clean lib" will delete all your files from
- the lib directory. "clean srclib" will delete the .obj files from your
- srclib directory. "clean srccmd" will delete your .exe files. "clean all"
- will do all of the above.
-
- Good luck,
- Drew Perkins
-
- arpanet: Drew.Perkins@andrew.cmu.edu
- phone: (412) 268-8576
- US mail: Drew D. Perkins
- Carnegie-Mellon University
- 4910 Forbes Ave.
- Pittsburgh, PA 15213
-